package com.bean;

/**
 *菜品对应的原料表
 * @author Administrator
 *
 */
public class FoodMaterial {
	private Integer id;

	private Integer foodId;

	private Double materialQuantity;

	private Integer materialId;

	//一对一的关系
	private Material material;
	//一对一的关系
	private Food food;
	
	
	

	public Food getFood() {
		return food;
	}

	public void setFood(Food food) {
		this.food = food;
	}

	public Material getMaterial() {
		return material;
	}

	public void setMaterial(Material material) {
		this.material = material;
	}


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getFoodId() {
		return foodId;
	}

	public void setFoodId(Integer foodId) {
		this.foodId = foodId;
	}

	public Double getMaterialQuantity() {
		return materialQuantity;
	}

	public void setMaterialQuantity(Double materialQuantity) {
		this.materialQuantity = materialQuantity;
	}

	public Integer getMaterialId() {
		return materialId;
	}

	public void setMaterialId(Integer materialId) {
		this.materialId = materialId;
	}

	@Override
	public String toString() {
		return "FoodMaterial [id=" + id + ", foodId=" + foodId
				+ ", materialQuantity=" + materialQuantity + ", materialId="
				+ materialId + "]";
	}

}